<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.advancedquery.js?v=${ver}" type="text/javascript"></script>

<#include "/common/pagerForm.html">

<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
<input type="hidden" id="advancedStatus" name="advancedStatus" value="${condition.advancedStatus!''}" />
    <div class="pageHeader">
        <div class="searchBar defect" >
            <ul class="searchContent">
            	<li>
            		<label><@label key="businessType.C,colon">业务类型:</@label></label> 
            		<input type="text" class="textInput" name="businessType" value="${condition.businessType!''}" />
            	</li>
                <li>
                	<label><@label key="screenCode.C,colon">界面编号:</@label></label> 
                	<input type="text" class="textInput" name="screenCode" value="${condition.screenCode!''}" />
                </li>
				<li>
                	<label><@label key="screenText.C,colon">界面描述:</@label></label> 
                	<input type="text" class="textInput" name="screenText" value="${condition.screenText!''}" />
                </li>
				<li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>                
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <@buttonRight menuCode="ADDSCREEN" labelKey="add.B" defalutName="新增">
            <li>
            	<a class="add" target="dialog" mask="true" width="800" height="570" 
            	href="${rc.getContextPath()}/manage/screen/addScreen?navTabId=${navTabId!''}"
            	rel="adddefect">
            		<span><@label key="add.B">新增</@label></span>
            	</a>
            </li>
            </@buttonRight>
            <@buttonRight menuCode="MODIFYSCREEN" labelKey="edit.B" defalutName="编辑">
            <li>
            	<a class="edit" target="dialog" mask="true" width="800" height="630" 
            	href="${rc.getContextPath()}/manage/screen/modifyScreen?code={screen_code}&navTabId=${navTabId!''}"
            	rel="editdefect" > <span><@label key="edit.B">编辑</@label></span>
            	</a>
            </li>
            </@buttonRight>
            <@buttonRight menuCode="VIEWSCREEN" labelKey="view.B" defalutName="详情">
            <li>
            	<a class="icon" target="dialog" mask="true" width="800" height="630" 
            	href="${rc.getContextPath()}/manage/screen/viewScreen?code={screen_code}&navTabId=${navTabId!''}"
            	rel="viewdefect" >
            		<span><@label key="view.B">详情</@label></span>
            	</a>
            </li>
            </@buttonRight>
            <@buttonRight menuCode="DELETESCREEN" labelKey="delete.B" defalutName="删除">
            <li><a class="delete" target="selectedTodo" 
            	href="${rc.getContextPath()}/manage/screen/deleteScreen?navTabId=${navTabId!''}"
            	postType="string" rel="codes" callback="batchjobAjaxDone"
                title="<@label key='confirmDeleteAndonType.M'>确认要删除选择的类型？</@label>"><span><@label key="delete.B">删除</@label></span>
            </a>
            </li>
            </@buttonRight>
            <@buttonRight menuCode="SAVEASSCREEN" labelKey="saveAs.B" defalutName="另存为">
            <li>
            	<a class="add" target="dialog" mask="true" width="350" height="150" 
            	href="${rc.getContextPath()}/manage/screen/saveAs?code={screen_code}&navTabId=${navTabId!''}"
            	rel="editdefect" > <span><@label key="saveAs.B">另存为</@label></span>
            	</a>
            </li>
            </@buttonRight>
            <li>
                <a class="add" target="dialog" mask="true" width="600" height="450" 
                href="${rc.getContextPath()}/manage/form/getFrom/{screen_code}" > <span>预览</span>
                </a>
            </li>            
        </ul>
    </div>
    <table class="table" width="100%" layoutH="135" style="overflow:scroll;">
        <thead>
            <tr>
                <th width="22"><input type="checkbox" group="codes" class="checkboxCtrl"></th>
                <th width="20"><@label key="serialNumber.C">序号</@label></th>
                <th width="80"><@label key="businessType.C">业务类型</@label></th>
                <th width="80"><@label key="screenCode.C">界面编号</@label></th>
                <th width="80"><@label key="screenText.C">界面描述</@label></th>
                <th width="80"><@label key="createUser.C">创建人</@label></th>
                <th width="100"><@label key="createDateTime.C">创建时间</@label></th>
                <th width="80"><@label key="modifyUser.C">修改人</@label></th>
                <th width="100"><@label key="modifyDateTime.C">修改时间</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as screen>
            <tr target="screen_code" rel="${screen.screenCode!''}">
                <td><input name="codes" value="${screen.screenCode!''}" type="checkbox"></td>
                <td>${page.startRow + screen_index}</td>
                <td>${screen.businessType!''}</td>
                <td>${screen.screenCode!''}</td> 
                <td>${screen.screenText!''}</td>                
                <td>${screen.createUser!''}</td>
                <td>${screen.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td>${screen.modifyUser!''}</td>
                <td>${screen.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
            </tr>
            </#list> <#else>
                <tr >
                <td colspan="7"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if> <#else>
            <tr >
                <td colspan="7"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
</div>
